package com.jiuli.liping.dao;

import com.jiuli.liping.vo.Supplier;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * Author zyl
 * Date  2020-03-25
 */
@Component
@Mapper
public interface SupplierDao {

    public Supplier get(String id);

    public List<Supplier> findList(Supplier supplier);

    public List<Supplier> findAllList();

    public int insert(Supplier supplier);

    public int insertBatch(List<Supplier> suppliers);

    public int update(Supplier supplier);

    public int delete(Supplier supplier);

}